/**
 * Description:
 * Class Name:Circle
 * Date:2022/3/24 15:14
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第9章_泛型._9_3_类型通配符._9_3_2_设定类型通配符的上限;

// 定义Shape的子类Circle
public class Circle extends Shape{
    // 实现画图方法，用打印字符串来模拟实现

    @Override
    public void draw(Canvas c) {
        System.out.println("在画布上" + c + "画一个⚪");
    }
}
